/**
 * Created by zhaomi on 16/4/26.
 */
var redis=require('redis')
module.exports={
  client: function(){
    var c=redis.createClient(6379,'127.0.0.1',{})
    c.on('error',function(err){
      console.log('Error ',err)
    })
    return c
  }
}

